<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jquery.min.js"></script>
    <script>
        $(function(){
            function $(arg){
                console.log('------------今天天气不错----------');
                var result = document.querySelector(arg);
                return result;
            }
            $('div');
            // 问题, 变量名冲突
            // 1. jQuery
            // 2.noConflict()
            var abc = jQuery.noConflict();

            // $('span').html('aaaaaaa');
            abc('span').html('aaaaaaa');
        });
    </script>
</head>
<body>
    <div></div>
    <span>sssss</span>
</body>
</html>